package com.cyz.web.app.proxy;

public class Client {

    public static void main(String[] args) {

        String username = "zhangsan";
        IBuyer buyer = new Buyer(username);

        IBuyer proxy = new BuyerProxy(buyer);
        proxy.login(username,"123456");
        proxy.buyTicket();




    }
}
